package com.turing.post.organization.util;
import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 凭证调拨单详细接口
 * 
 * @author wzd
 * @2013-03-13
 */
@Remote
@Local
public interface VoucherTransferOrderDetailDao {

	
	/**
	 * 根据条件查询凭证调拨单明细列表 
	 * @param transferOrderId 
	 *            调拨单ID                        
	 * @param page 
	 *            页码
	 * @return 凭证入库单明细列表
	 */
	public List<VoucherTransferOrderDetail> getVoucherTransferOrderDetailListByTransferOrderId(PCPSWebInput webInput,String transferOrderId,Integer page);
	/**
	 * 根据条件查询凭证调拨单明细记录数
	 * @param transferOrderId 
	 *            调拨单ID      
	 * @return 凭证调拨单记录数
	 */
	public BigInteger getVoucherTransferOrderDetailListByTransferOrderIdTotal(PCPSWebInput webInput,String transferOrderId);
	/**
	 * 新增凭证调拨单明细
	 * 
	 * @param  VoucherTransferOrderDetail
	 *            凭证调拨单明细
	 * @throws PCPSApplicationException
	 */
	public void insertVoucherTransferOrderDetail(VoucherTransferOrderDetail voucherTransferOrderDetail) throws PCPSApplicationException;	
	/**
	 * 根据条件查询凭证调拨单明细列表 
	 * @param transferOrderId 
	 *            调拨单ID       
	 * @return 凭证入库单明细列表
	 */
	public List<VoucherTransferOrderDetail> getVoucherTransferOrderDetailListByTransferOrderIdNotPage(PCPSWebInput webInput,BigInteger transferOrderId);
}
